package cn.stylefeng.guns.modular.ums.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 教师推广收益
 * </p>
 *
 * @author yzb
 * @since 2020-02-05
 */
@TableName("ums_recommend_income_records")
public class RecommendIncomeRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "records_id", type = IdType.AUTO)
    private Integer recordsId;

    /**
     * 会员ID
     */
    @TableField("member_id")
    private Integer memberId;

    /**
     * 收入内容
     */
    @TableField("income")
    private String income;

    /**
     * 收入类型：0-消费券，1-会员VIP
     */
    @TableField("income_type")
    private Integer incomeType;

    /**
     * 收入说明
     */
    @TableField("content")
    private String content;

    /**
     * 添加时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Integer getRecordsId() {
        return recordsId;
    }

    public void setRecordsId(Integer recordsId) {
        this.recordsId = recordsId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getIncome() {
        return income;
    }

    public void setIncome(String income) {
        this.income = income;
    }

    public Integer getIncomeType() {
        return incomeType;
    }

    public void setIncomeType(Integer incomeType) {
        this.incomeType = incomeType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "RecommendIncomeRecords{" +
        "recordsId=" + recordsId +
        ", memberId=" + memberId +
        ", income=" + income +
        ", incomeType=" + incomeType +
        ", content=" + content +
        ", createTime=" + createTime +
        "}";
    }
}
